package com.baizhi.service;

import com.baizhi.dto.LoginFormDTO;
import com.baizhi.dto.Result;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baizhi.entity.User;

import javax.servlet.http.HttpSession;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gange
 * @since 2023-04-06
 */
public interface IUserService extends IService<User> {
    Result sendCode(String phone , String sessionId);
    Result login(LoginFormDTO loginForm, String sessionId);
    Result logout(String authorization);
}
